/*
 * @Author: windys
 * @Description: 
 * @Date: 2021-10-12 13:39:07
 */
import { createApp } from 'vue'
import App from './App.vue'
import Antd from 'ant-design-vue';
// import 'ant-design-vue/dist/antd.css';
import 'ant-design-vue/dist/antd.less'

// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
import router from "./router/index";
import store from './store/index'

import 'xe-utils'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import './utils/permission'

import './style/index.scss';

import { repeatClick } from './directives/repeatClick'
import { resize } from './directives/resize'

import * as echarts from 'echarts'


import globalComponents from "./components/registerGlobComp";


const app = createApp(App);

app.config.globalProperties.$echarts = echarts;

app.use(Antd);
app.use(VXETable);
// app.use(ElementPlus);
app.use(globalComponents);


app.use(router);
app.use(store);


repeatClick(app)
resize(app)

app.mount('#app')
